home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ppppoooorrrrttttmmmmaaaapppp((((1111MMMM)))) ppppoooorrrrttttmmmmaaaapppp((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- portmap - TCP, UDP port to RPC program number mapper
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////eeeettttcccc////ppppoooorrrrttttmmmmaaaapppp [ ----vvvvmmmmAAAAbbbbCCCC ] [ ----ffff _f_o_r_k_c_n_t ] [ ----aaaa _m_a_s_k,_m_a_t_c_h | ----aaaa _m_a_t_c_h ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _p_o_r_t_m_a_p is a server that converts RPC program numbers into TCP or UDP
- protocol port numbers. It must be running in order to make RPC calls.
-
- When an RPC server is started, it tells _p_o_r_t_m_a_p what port number it is
- listening to, and what RPC program numbers it is prepared to serve. When
- a client wishes to make an RPC call to a given program number, it first
- contacts _p_o_r_t_m_a_p on the server machine to determine the port number where
- RPC packets should be sent.
-
- After _p_o_r_t_m_a_p starts, _i_n_e_t_d(1M) can register its standard RPC servers.
-
- Options to customize _p_o_r_t_m_a_p's behavior are read from the file
- /_e_t_c/_c_o_n_f_i_g/_p_o_r_t_m_a_p._o_p_t_i_o_n_s during system initialization. The options
- are:
-
- ----vvvv Verbose: prints error messages using _s_y_s_l_o_g(3B) when a service fails
- or when an unprivileged process or remote host tries to set or unset
- a port mapping.
-
- ----ffff _f_o_r_k_c_n_t
- Specify the maximum number of child processes to handle broadcast or
- multicast requests. The default is 10.
-
- ----aaaa _m_a_s_k,_m_a_t_c_h
- ----aaaa _m_a_t_c_h
- This option permits restriction of most of the portmap services to a
- subset of hosts or networks. (The portmap null procedure is not
- restricted.) The _m_a_s_k, and _m_a_t_c_h arguments are IP addresses in
- Internet dot notation (see _i_n_e_t(3N)) that represent masks, hosts or
- networks. The _m_a_s_k and _m_a_t_c_h arguments must be separated by a comma
- with no intervening whitespace. If _m_a_s_k and the comma are missing,
- the argument is interpreted as a Class A, B, or C network number and
- the mask is set to the value appropriate for the network's class.
-
- The ----aaaa option can be repeated up to 50 times. For each mask and
- match specified, the requesting client host's address is logically-
- ANDed with _m_a_s_k; if the result equals _m_a_t_c_h, the client's request is
- processed. If none of the mask-match comparisons succeed, the
- request is rejected. Requests from all of the local host's
- addresses are always permitted.
-
- For example, if /_e_t_c/_c_o_n_f_i_g/_p_o_r_t_m_a_p._o_p_t_i_o_n_s contains
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ppppoooorrrrttttmmmmaaaapppp((((1111MMMM)))) ppppoooorrrrttttmmmmaaaapppp((((1111MMMM))))
-
-
-
- -a 255.255.255.0,128.32.199.0
- -a 192.0.2.0
- -a 255.255.255.255,192.26.51.3
-
- access is restricted to any host on the Class B 128.32.199 subnet or
- the Class C 192.0.2 network or to the host with the 192.26.51.3
- address. Requests from clients on any other networks are rejected.
-
- ----AAAA This option is equivalent to a series of ----aaaa options listing all of
- the addresses of interfaces on the machine, with their netmasks. It
- is convenient for authorizing hosts on directly connected networks
- and point-to-point links without explicitly enumerating the
- networks. The restrictions defined by ----AAAA do not count against the
- limit of 50 ----aaaa options.
-
- ----bbbb This option causes the ----aaaa and ----AAAA options to apply only to packets
- that arrive via multicast.
-
- ----mmmm Enable reception of RPC requests sent to _p_o_r_t_m_a_p's multicast
- address, provided their sources meet the restrictions imposed by ----aaaa
- or ----AAAA. Multicast requests received from what should be local
- addresses are always ignored. The ----aaaa and/or ----AAAA options should
- always be used with ----mmmm on machines that can be reached by multicast
- packets from the Internet, such as MBONE feeds. The ----bbbb option is
- handy with ----mmmm on systems shielded from the Internet by firewalls,
- where all networks that can be reached via unicast or broadcast are
- trusted.
-
- ----CCCC Turn on compatibility mode. This will allow local applications to
- register with _pppp_oooo_rrrr_tttt_mmmm_aaaa_pppp using a network address other than the
- loopback address. Applications that do not use the SGI-provided RPC
- interfaces to register with portmap may require this option to
- function properly. However, use of this option will also introduce
- a known _ssss_eeee_cccc_uuuu_rrrr_iiii_tttt_yyyy problem.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- inetd(1M), rpcinfo(1M).
-
- _I_R_I_X _N_e_t_w_o_r_k _P_r_o_g_r_a_m_m_i_n_g _G_u_i_d_e
-
- BBBBUUUUGGGGSSSS
- If _p_o_r_t_m_a_p crashes, all servers that use it (for example, _n_s_d(1M), and
- _i_n_e_t_d(1M)) must be restarted.
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-